#include "Project.h"
#include <SEngine/Util/Util.h>
#include <SESerializeYAML/SceneSerializer.h>
#include <fstream>
#include <filesystem>

namespace SEngine
{
    std::string Project::s_root;

    Project::Project(ProjectOption &&opt)
        : m_opt(opt)
    {
        m_scene = std::make_shared<Scene>();
        std::filesystem::path path(m_opt.path);
        s_root = path.parent_path().string();
    }

}